﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace DataContracts
{
    /// <summary>
    /// Define RoleViewDTO
    /// </summary>
     [DataContract]
    public class RoleViewDTO
    {
        private int _roleId;
        private string _roleName;        
        private string _authorityName;       
        private string _levelName;

        /// <summary>
        /// Role Id
        /// </summary>
        [DataMember]
        public int RoleId
        {
            get { return _roleId; }
            set { _roleId = value; }
        }

        /// <summary>
        /// Role Name
        /// </summary>
        [DataMember]
        public string RoleName
        {
            get { return _roleName; }
            set { _roleName = value; }
        }

        /// <summary>
        /// Authority Name
        /// </summary>        
        [DataMember]
        public string AuthorityName
        {
            get { return this._authorityName; }
            set { this._authorityName = value; }
        }

         /// <summary>
        /// Level Name
        /// </summary>
        [DataMember]
        public string LevelName
        {
            get { return this._levelName; }
            set { this._levelName = value; }
        }

    }
}
